package com.ysd.lis.entity.inv;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author wanghuaixing
 * @since 2024-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("INV_CERT")
public class InvCert extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 证书名称
     */
    @TableField("CERT_NAME")
    private String certName;

    /**
     * 证书编号
     */
    @TableField("CERT_CODE")
    private String certCode;

    /**
     * 证书类型
     */
    @TableField("CERT_TYPE")
    private String certType;

    /**
     * 助记符
     */
    @TableField("INPUT_CODE")
    private String inputCode;

    /**
     * 启用日期
     */
    @TableField(value = "ENABLE_DATE", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Timestamp enableDate;

    /**
     * 停用日期
     */
    @TableField(value = "STOP_DATE", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Timestamp stopDate;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 是否停用,0否1是
     */
    @TableField("STOP_FLAG")
    private Boolean stopFlag;


}
